package com.ssm.helong.shop.service;

import com.ssm.helong.shop.entity.User;

import javax.servlet.http.HttpSession;


public interface UserService {


    /**
     * 用户注册
     * @param userLoginName
     * @param userLoginPassword
     * @return
     */
    String register(String userLoginName, String userLoginPassword,String userPhone);

    /**
     * 账号密码登陆登陆
     * @param userLoginName
     * @param userLoginPassword
     * @return
     */
    String passwordLogin(String userLoginName, String userLoginPassword);

    /**
     * 手机登陆
     * @param userPhone
     * @param code
     * @return
     */
    String phoneLogin(String userPhone,String code);

}
